$(document).ready(function(){
	$("#print").click(function(e) {
		window.open('data:application/vnd.ms-excel,' + encodeURIComponent($('#dvData').html()));
		e.preventDefault();
	});
});